<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="__PUBLIC__/Admin/images/Admin_css.css" type="text/css" rel="stylesheet">
<link rel="shortcut icon" href="__PUBLIC__/Admin/images/myfav.ico" type="image/x-icon" />
<script src="__PUBLIC__/Admin/js/admin.js"></script>
<script src="__PUBLIC__/Admin/js/Jquery.js"></script>
<script charset="utf-8" src="__PUBLIC__/Editor/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="__PUBLIC__/Editor/kindeditor/lang/zh_CN.js"></script>
<script charset="utf-8" src="__PUBLIC__/Common/artDialog/jquery.artDialog.js?skin=green"></script>
<script charset="utf-8" src="__PUBLIC__/Common/artDialog/extend.js"></script>
<link href="__PUBLIC__/Editor/kindeditor/themes/default/default.css" type="text/css" rel="stylesheet"/>
<style> 
.classlist {float:left;margin:0;padding:0;}
.classlist ul {float:left;margin:0;padding:0;}
.classlist li {margin:0;padding:0;padding:3px 0;border-bottom:1px solid #ffffff;}
.classlist li span {float:right;margin-top:-3px;}
.classlist .bigclass {font-weight:bold;clear:both;list-style:none;margin:5px 0;}
.classlist .yaoclass {font-weight:normal;list-style:none;padding-left:10px;}
</style>
<script>
   var editor;
        KindEditor.ready(function(K) {
                editor = K.create('#ocontent',{
				items : [
		'source', '|', 'undo', 'redo', '|', 'print', 'template', 'code', 'cut', 'copy', 'paste',
		'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
		'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
		'superscript', 'clearhtml', 'quickformat', 'selectall', 'preview','fullscreen','/',
		'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
		'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage',
		'flash', 'media', 'insertfile','multifile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak',
		'anchor', 'link', 'unlink',
	],
				allowFileManager : true
				});

        }); 
		
	function CheckForm()
	{ 
		if(EmptyCheckForm('otitle','专题名称不能为空!','')) return false;
	}
	function EmptyCheckForm(id,value,set)
	{
		if($('#'+id).val()==set)
		{
			$.dialog({icon:'warning',content:value,ok:function(){ $('#' + id).focus();}});return true;
		}
		return false;
	}
</script>
<title>专题管理</title>
</head>
<body>
<form action="{:U('Special/doedit')}" method="post" onsubmit="return CheckForm()">
<table width="100%" class="admintable">
<tr><td class="admintitle"><span style="float:right"><a href="javascript:;" onclick="window.history.go(-1)">[返回]</a></span>添加专题</td></tr>
</table>
<div class="nTableft admintable">
	<div class="TabTitleleft">
      		<ul id="myTab1">
					<li class="active" onClick="nTabs(this,0);" style="width:{$_i+97/2}%">常规选项</li>
					<li class="normal" onClick="nTabs(this,1);" style="width:{$_i+97/2}%">专题内容</li>
      		</ul>
    	</div>
	<div id="myTab1_Content0"  style="clear:both;">
<table width="100%" border="0"  align="center" cellpadding="3" cellspacing="1" style="margin:5px 0;background:#FFF">
<tr onMouseOver="this.style.backgroundColor='#EEFCDD';this.style.color='red'" onMouseOut="this.style.backgroundColor='';this.style.color=''">
<td width="30%" align="left">专题名称
				<div id='htitle' style="color:#ccc;letter-spacing: 0px;font-size:12px;"></div>
</td>
	<td width="70%" align="left">
		<input type="text" name="title"id="otitle" onFocus="htitle.style.color='blue';" onBlur="htitle.style.color='#ccc';" value="{$list.title}" style="width:300px;"/>
	</td>
	</tr>

	<tr onMouseOver="this.style.backgroundColor='#EEFCDD';this.style.color='red'" onMouseOut="this.style.backgroundColor='';this.style.color=''">
<td width="30%" align="left">SEO标题
				<div id='hseotitle' style="color:#ccc;letter-spacing: 0px;font-size:12px;"></div>
</td>
	<td width="70%" align="left">
		<input name="seotitle" type="text" id="oseotitle" onFocus="hseotitle.style.color='blue';" onBlur="hseotitle.style.color='#ccc';" value="{$list.seotitle}" style="width:300px;">
	(专题模板里用&lt;wk:field name=&quot;seotitle&quot; /&gt;调用) 
	</td>
	</tr>
	
<tr onMouseOver="this.style.backgroundColor='#EEFCDD';this.style.color='red'" onMouseOut="this.style.backgroundColor='';this.style.color=''">
<td width="30%" align="left">关键词
				<div id='hkeywords' style="color:#ccc;letter-spacing: 0px;font-size:12px;"></div>
</td>
	<td width="70%" align="left">
		<input name="keywords" type="text" id="okeywords" onFocus="hkeywords.style.color='blue';" onBlur="hkeywords.style.color='#ccc';" value="{$list.keywords}" style="width:300px;">
	</td>
	</tr>
	
 
<tr onMouseOver="this.style.backgroundColor='#EEFCDD';this.style.color='red'" onMouseOut="this.style.backgroundColor='';this.style.color=''">
<td width="30%" align="left">描述
				<div id='hdescription' style="color:#ccc;letter-spacing: 0px;font-size:12px;"></div>
</td>
	<td width="70%" align="left">
	<textarea class='css_textarea' name="description" type="text" id="odescription" onFocus="hdescription.style.color='blue';" onBlur="hdescription.style.color='#ccc';" cols="50" rows="5" >{$list.description}</textarea>	
	</td>
	</tr>

	
	<tr onMouseOver="this.style.backgroundColor='#EEFCDD';this.style.color='red'" onMouseOut="this.style.backgroundColor='';this.style.color=''">
<td width="30%" align="left">专题页模板路径
				<div id='htempindex' style="color:#ccc;letter-spacing: 0px;font-size:12px;"></div>
</td>
	<td width="70%" align="left">
	<input type="text" name="tempindex" id="otempindex" onFocus="htempindex.style.color='blue';" onBlur="htempindex.style.color='#ccc';" value="{$list.tempindex}" style="width:300px;"/>
	</td>
	</tr>
	
	<tr onMouseOver="this.style.backgroundColor='#EEFCDD';this.style.color='red'" onMouseOut="this.style.backgroundColor='';this.style.color=''">
<td width="30%" align="left">WAP专题页模板路径
				<div id='hwaptempindex' style="color:#ccc;letter-spacing: 0px;font-size:12px;"></div>
</td>
	<td width="70%" align="left">
	<input type="text" name="waptempindex" id="owaptempindex" onFocus="hwaptempindex.style.color='blue';" onBlur="hwaptempindex.style.color='#ccc';" value="{$list.waptempindex}" style="width:300px;"/>
	</td>
	</tr>
</table>
</div>



<div id="myTab1_Content1"  style="clear:both;" class='none'>
<table width="100%" border="0"  align="center" cellpadding="3" cellspacing="1" style="margin:5px 0;background:#FFF">
 
<tr>
<td width="100%" align="center">	说明：专题内容是替代原来专题单独页的更灵活的一种方式，可在专题模板中用&lt;wk:field name=&quot;content&quot; /&gt;调用，通常用于存储专题介绍内容之类的用途。</td>
</tr>
<tr>
	<td width="100%" align="center">
	<textarea class='css_textarea' name="content" type="text" id="ocontent" style="width:100%;height:300px;">{$list.content}</textarea>	
	</td>
	</tr>
 
</table>
</div>
</div>
<input type="hidden" name="id" value="{$list.id}"/>
<tr class="css_page_list">
			<td height="30" colspan=2 align="center">
		  <input name='Submit' type='submit' class="bnt" value=' 保存 '>&nbsp;&nbsp;&nbsp;&nbsp;
		  <input name='button' type='button' class="bnt" value=' 返 回 ' onclick="javascript:history.go(-1);"></td>
		</tr>
</form>

<div style="text-align:center;margin:10px;">
<hr>
<include file="Index:copy" /> 
</div>
</body>
</html>